gender identity vs masculinity

gender identity

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

masculinity

noun
  • The degree or property of being masculine or manly; manliness. 

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