Pipes are grounded. Plus you’d need to be holding the pipe between both hands to have it go across your heart to have a major issue.
That isn't a path electricity would take. The path would be through your hands to your feet. Also, the current doesn't have to go through your heart to hurt or kill you.