A commonly prescribed diabetes drug also may have the capability of protecting the heart, according to a Swedish study.