act as deputy vs act as substitute

act as deputy

act as substitute

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