seek the favor of vs try to get on someone's good side

seek the favor of

try to get on someone's good side

How often have the words seek the favor of and try to get on someone's good side occurred in a corpus of books? (source: Google Ngram Viewer )