Demi Lovato checks in to rehab following apparent overdose