damage someone's reputation vs do credit to

damage someone's reputation

do credit to

How often have the words damage someone's reputation and do credit to occurred in a corpus of books? (source: Google Ngram Viewer )