eroticism vs sexual preference

eroticism

noun
  • the state of being erotic, or of being sexually aroused 

  • sexual excitement, especially if abnormally persistent 

sexual preference

noun
  • Sexual orientation. 

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