legal code vs legality

legal code

noun
  • All the official laws of a country or state 

legality

noun
  • Lawfulness. 

  • A dice game; the same as chuck-a-luck. 

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