act as a substitute for vs take the place of

act as a substitute for

take the place of

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