act as vs function as

act as

function as

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