earlier vs used-to-be

earlier

adj
  • occurring previously 

adv
  • previously; before now; sooner 

used-to-be

adj
  • Former, ex-. 

How often have the words earlier and used-to-be occurred in a corpus of books? (source: Google Ngram Viewer )