in advance vs previously

in advance

prep
  • beforehand 

previously

adv
  • At an earlier time. 

  • Recapitulating the preceding episodes of a series. 

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