act as deputy vs do duty

act as deputy

do duty

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