enact vs prevent

enact

verb
  • to do; to effect 

  • to act the part of; to play 

  • to make (a bill) into law 

prevent

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

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