do right by vs side with

do right by

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

side with

verb
  • To choose to take the same point of view as (someone). 

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