The mattress is salvagable. Pour enough Simple Solution on the spot to soak as deep and wide as the pee. Let it dry; this could take a few days unless you can put it in the sun. When it's dry, the odor will be gone.

It does sound like a UTI. Can you find out if the vet ruled it out?