A-OK vs up to code

A-OK

up to code

How often have the words A-OK and up to code occurred in a corpus of books? (source: Google Ngram Viewer )