How to prove that a SKE scheme is IND-CPA secure
A CPA on the second scheme is exactly the same thing as a CPA on the first one, provided that the attacker never calls the encryption oracle on a message which equals the key. But the latter can happen only with negligible probability, otherwise the first scheme would not be CPA-secure since it has the same key generation algorithm.

Thus, for any CPA attack against the second scheme, the exact same CPA attack will succeed with almost the same probability on the first scheme after accounting for the negligible possibility that the attack calls the encryption oracle on a message quich equals the key.