avert vs inhibit

avert

verb
  • To turn aside or away. 

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

inhibit

verb
  • To recuse. 

  • To hold in or hold back; to keep in check; restrain. 

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