a friend asked what happened to the devices when people are cremated.
Interesting question so though I would ask.
The other thing is icd/pacemakers have lithium batteries,, much like the mobile phone, ev vehicle and power station battery storage but smaller. Lithium batteries are known to have thermal runaway. Not something that your local crematorium would bear thinking about. (Sarcasm, but element of truth)