affect the role of vs give the appearance of

affect the role of

give the appearance of

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