affect the role of vs assume the role of

affect the role of

assume the role of

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