come in for vs take one's medicine

come in for

verb
  • to be subjected to 

take one's medicine

verb
  • To endure an unpleasant obligation, especially a punishment. 

  • Used other than figuratively or idiomatically: see take, medicine. 

How often have the words come in for and take one's medicine occurred in a corpus of books? (source: Google Ngram Viewer )