put a lid on vs put paid to

put a lid on

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

put paid to

verb
  • To terminate; to cancel (plans or expectations); to stop something once and for all. 

  • To put an end to. 

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