beat off vs prevent

beat off

verb
  • To waste time. 

  • To drive something away with blows or military force. 

  • To masturbate, usually a man of himself. 

prevent

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

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