act as vs fulfill the function of

act as

fulfill the function of

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