do the necessary vs fill the bill

do the necessary

fill the bill

How often have the words do the necessary and fill the bill occurred in a corpus of books? (source: Google Ngram Viewer )