curry favor with vs shine up to

curry favor with

shine up to

How often have the words curry favor with and shine up to occurred in a corpus of books? (source: Google Ngram Viewer )