act as a substitute for vs substitute for

act as a substitute for

substitute for

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