avert vs give an affidavit

avert

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

  • To turn aside or away. 

give an affidavit

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