act as a substitute for vs do the work of

act as a substitute for

do the work of

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