just for vs serving as

just for

serving as

How often have the words just for and serving as occurred in a corpus of books? (source: Google Ngram Viewer )