family name vs nickname

family name

noun
  • A given name common in a family, or already borne by someone in the family (in the context of naming someone in the family after that family member). 

  • A surname. 

nickname

noun
  • A familiar, shortened or diminutive name for a person or thing. 

  • A familiar, invented name for a person or thing used instead of the actual name of the person or thing, often based on some noteworthy characteristic. 

verb
  • To give a nickname to (a person or thing). 

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