cast-iron vs hard and fast

cast-iron

hard and fast

How often have the words cast-iron and hard and fast occurred in a corpus of books? (source: Google Ngram Viewer )