avert vs prevent

avert

verb
  • To turn aside or away. 

  • To ward off, or prevent, the occurrence or effects of. 

prevent

verb
  • To stop (an outcome); to keep from (doing something). 

How often have the words avert and prevent occurred in a corpus of books? (source: Google Ngram Viewer )