be partial to vs do right by

be partial to

do right by

verb
  • To treat, deal with, or act toward (someone) in a morally just, socially honorable fashion. 

How often have the words be partial to and do right by occurred in a corpus of books? (source: Google Ngram Viewer )