consent to vs legalize

consent to

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