enact vs invalidate

enact

verb
  • to make (a bill) into law 

  • to do; to effect 

  • to act the part of; to play 

invalidate

verb
  • To make invalid. Especially applied to contract law. 

  • To make or declare (an argument, statement, or theory) unsound or erroneous; disprove. 

  • To render invalid; discredit. 

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