detrimental vs invalidating

detrimental

adj
  • Causing damage or harm. 

invalidating

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