act as vs do duty as

act as

do duty as

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