avert vs restrain

avert

verb
  • To turn aside or away. 

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

restrain

verb
  • To restrict or limit. 

  • To control or keep in check. 

  • To deprive of liberty. 

  • To strain again. 

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