deprecate vs discredit

deprecate

verb
  • To belittle or express disapproval of. 

  • To declare something obsolescent; to recommend against a function, technique, command, etc. that still works but has been replaced. 

discredit

verb
  • To harm the good reputation of a person; to cause an idea or piece of evidence to seem false or unreliable. 

noun
  • A degree of dishonour or disesteem; ill repute; reproach. 

  • A person or thing that causes harm to a reputation, as of a person, family, or institution. 

  • The state of being discredited or disbelieved. 

  • Discrediting or disbelieving. 

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