curry favor with vs try to get on someone's good side

curry favor with

try to get on someone's good side

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