I replaced the O2 sensor yesterday and that seems to have been the problem. No more gas smell and the code hasn't come back. I'll post again if it turns out that wasn't the problem.