act as deputy for vs act as substitute for

act as deputy for

act as substitute for

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