Hi and welcome. I agree with your vet. Rimadyl can cause problems in the liver and should be used carefully. Rimadyl is also used for dog's who have arthritis. I, personally, don't like Rimadyl, as it too, caused liver problems with one of our past Labs. I'm not familiar with Denamarin, we use natural treatments instead.
All the best with your boy.