affect the role of vs impersonate

affect the role of

impersonate

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

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

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