butter up vs set one’s cap for

butter up

verb
  • To flatter, especially with the intent of personal gain. 

set one’s cap for

How often have the words butter up and set one’s cap for occurred in a corpus of books? (source: Google Ngram Viewer )