lock horns with vs square off with

lock horns with

square off with

How often have the words lock horns with and square off with occurred in a corpus of books? (source: Google Ngram Viewer )