act as a substitute for vs act as locum for

act as a substitute for

act as locum for

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