officer of the law vs peace officer

officer of the law

peace officer

noun
  • A civil law enforcement officer with a duty to maintain law and order, i.e. bylaw officer, police officer, sheriff, etc. 

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