inhibit vs legalize

inhibit

verb
  • To recuse. 

  • To hold in or hold back; to keep in check; restrain. 

legalize

verb
  • To make legal or permit under law. Either by decriminalising something that has been illegal or by specifically permitting it. 

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