as a substitute for vs as opposed to

as a substitute for

as opposed to

prep
  • in contrast to, rather than, instead of; particularly used in defining a concept by providing an example that does not fall inside the concept. 

How often have the words as a substitute for and as opposed to occurred in a corpus of books? (source: Google Ngram Viewer )