Loosely matching rhymes for semiconductor protection