damaging to vs detrimental to

damaging to

detrimental to

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