A minor shall not be required to obtain consent under this subchapter if the guardianship or custody order has expired or is otherwise no longer in effect.