have/do the job of vs perform the function of

have/do the job of

perform the function of

How often have the words have/do the job of and perform the function of occurred in a corpus of books? (source: Google Ngram Viewer )