lawman vs officer of the law

lawman

noun
  • A lawspeaker: a declarer of the law. 

  • The presiding justice of the supreme court. 

  • A man of the law: a lawyer. 

  • One of 12 magistrates in certain Danish boroughs of England empowered with soc and sac over their own households. 

  • An officer of the law: a law-enforcement officer. 

officer of the law

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