curry favor with vs prostrate oneself to

curry favor with

prostrate oneself to

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