bring an end to vs head off

bring an end to

verb
  • Cause to stop. 

head off

verb
  • To avoid the undesirable consequences of; prevent. 

  • To start out. 

  • To intercept. 

  • To turn away from the wind. 

  • To begin moving away. 

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