CHEVY WON'T GO OVER 40 MPH

The truck won't go over 40 mph. It does seem to be shifting normally so I don't think it is a trans. Issue. When the codes were checked, 02 sensors came up but nothing else. Do you think it is the Catalytic converter?