do the dirty on vs dob in

do the dirty on

verb
  • To treat (someone) in an unfair manner; to cheat or betray. 

dob in

verb
  • To betray someone by informing on them. 

How often have the words do the dirty on and dob in occurred in a corpus of books? (source: Google Ngram Viewer )