nip in the bud vs put an end/stop to

nip in the bud

verb
  • To stop (something) at an early stage. 

  • To remove a bud [from a plant] to prevent flower and fruit from forming. 

put an end/stop to

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