gender identity vs sexual preference

gender identity

noun
  • A person's internal sense of self as belonging to a particular gender or genders, or to no gender. 

sexual preference

noun
  • Sexual orientation. 

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