do for vs put a lid on

do for

verb
  • To doom; to bring about the demise of someone. 

  • Used other than figuratively or idiomatically: see do, for. 

put a lid on

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

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