enact vs impersonate

enact

verb
  • to act the part of; to play 

  • to do; to effect 

  • to make (a bill) into law 

impersonate

verb
  • To pretend to be (a different person); to assume the identity of. 

  • To operate with the permissions of a different user account. 

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