act as a substitute for vs deputize for

act as a substitute for

deputize for

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