act as deputy vs act as understudy

act as deputy

act as understudy

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