act the part of vs perform the function of

act the part of

perform the function of

How often have the words act the part of and perform the function of occurred in a corpus of books? (source: Google Ngram Viewer )