as a replacement for vs as an alternative to

as a replacement for

as an alternative to

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