do a locum vs take the place of

do a locum

take the place of

How often have the words do a locum and take the place of occurred in a corpus of books? (source: Google Ngram Viewer )