I suppose you have to take your vets advice as we are not experts and there are various causes of heart distress. My vets swear by Vetmedin, which was given to Izzy when his breathing became laboured (not panting but sides heaving).
This is what sam is doing, he is both panting and hes sides are also heaving.