More specifically, consider the Gray Ooze's ability to...
Corrode Metal. Any nonmagical weapon made of metal that hits the ooze corrodes. After dealing damage, the weapon takes a permanent and cumulative -1 penalty to damage rolls.
If my Forge cleric casts searing smite on his otherwise normal warhammer and I land a blow, is my hammer still gonna get jacked up?