“The family member tells us [TMZ] Cody struggled with alcohol abuse for years — and went to rehab over the summer. At this time, an official time of death has not been released, but the family believes he relapsed and alcoholism is likely what killed him.”
https://www.tmz.com/2023/02/10/days-of-our-lives-actor-cody-longo-dead-dies/
Last Days of his Life?