be a locum for vs substitute for

be a locum for

substitute for

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