put a lid on vs put an end to

put a lid on

verb
  • To get under control, to prevent (something) from increasing or becoming more of a problem. 

put an end to

verb
  • To terminate or abolish. 

How often have the words put a lid on and put an end to occurred in a corpus of books? (source: Google Ngram Viewer )