acting as vs in the role of

acting as

in the role of

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