do someone a favor vs gratify the wishes of

do someone a favor

gratify the wishes of

How often have the words do someone a favor and gratify the wishes of occurred in a corpus of books? (source: Google Ngram Viewer )