replace vs stand in

replace

verb
  • To take the place of; to be used instead of 

  • To place again. 

  • To put in a new or different place. 

  • To take over the position or role from. 

  • To restore to a former place, position, condition, etc.; to put back 

  • To refund; to repay; to pay back 

  • To supply or substitute an equivalent for 

  • To demolish (a building) and build an updated form of that building in its place. 

stand in

verb
  • To substitute for; to replace; (theater) to serve as an understudy. 

  • To make one of a party in a bet or other speculation. 

  • To take a side in a dispute. 

noun
  • A substitute; a replacement. 

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