be detrimental to vs do harm to

be detrimental to

do harm to

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