give someone the cold shoulder vs give someone the go-by

give someone the cold shoulder

verb
  • To snub, resist or reject somebody; to regard somebody distantly. 

give someone the go-by

How often have the words give someone the cold shoulder and give someone the go-by occurred in a corpus of books? (source: Google Ngram Viewer )