in the same manner with vs serving as

in the same manner with

serving as

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