law enforcement vs legal code

law enforcement

noun
  • The task of ensuring obedience to the law. 

  • The various government agencies, regarded collectively, involved in the prevention of crime and the apprehension of criminals. 

legal code

noun
  • All the official laws of a country or state 

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