enact vs undo

enact

verb
  • to do; to effect 

  • to act the part of; to play 

  • to make (a bill) into law 

undo

verb
  • To reverse the effects of an action. 

  • To unfasten. 

  • To impoverish or ruin, as in reputation; to cause the downfall of. 

noun
  • An operation that reverses a previous action. 

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