against the law vs prohibited

against the law

prep
  • Illegal; forbidden by law. 

  • Used other than figuratively or idiomatically: see against, the, law. 

prohibited

adj
  • Forbidden; unallowed 

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