act as stand-in vs do duty

act as stand-in

do duty

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