confirm vs legalize

confirm

verb
  • To administer the sacrament of confirmation on (someone). 

  • To assure the accuracy of previous statements. 

  • To strengthen; to make firm or resolute. 

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 confirm and legalize occurred in a corpus of books? (source: Google Ngram Viewer )