apostasy vs heterodoxy

apostasy

noun
  • The renunciation of a belief or set of beliefs. 

  • Specifically, the renunciation of one's religion or faith. 

heterodoxy

noun
  • A heterodox belief, creed, or teaching. 

  • The quality of being heterodox. 

How often have the words apostasy and heterodoxy occurred in a corpus of books? (source: Google Ngram Viewer )