code name vs sobriquet

code name

noun
  • A name used to clandestinely identify somebody or something, either for military or espionage purposes, or for commercial confidentiality. 

sobriquet

noun
  • A familiar name for a person or thing; a nickname (sometimes assumed by the person, but often given by others), that is descriptive. 

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