substitution vs swap out

substitution

noun
  • A substitute or replacement. 

  • The act of substituting or the state of being substituted. 

  • The expansion of the lexicon of a language by native means in correspondence to a foreign term. 

  • The replacement of an atom, or group of atoms, in a compound, with another. 

swap out

noun
  • Anything that is swapped out for another; an exchange. 

  • A pre-prepared food item used in place of an unfinished food item in order to cut down the overall preparation time during filming. 

verb
  • To exchange (something) for (something else). (usually followed by with or for) 

  • To transfer (memory contents) into a swap file. 

  • To exchange (something or someone) for an unused (or less-used) equivalent. 

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