annul vs undo

annul

verb
  • To formally revoke the validity of. 

  • To dissolve (a marital union) on the grounds that it is not valid. 

undo

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

  • To reverse the effects of an action. 

  • To unfasten. 

noun
  • An operation that reverses a previous action. 

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