bring an end to vs stave off

bring an end to

verb
  • Cause to stop. 

stave off

verb
  • to prevent something from happening; to obviate or avert 

How often have the words bring an end to and stave off occurred in a corpus of books? (source: Google Ngram Viewer )