(a) Except as otherwise provided in subsection (b), an individual to whom custodial responsibility has been granted during deployment pursuant to Article 2 or 3 shall notify the deploying parent and any other individual with custodial responsibility of a child of any change of the individual's mailing address or residence until the grant is terminated. The individual shall provide the notice to any court that has issued a custody or child support order concerning the child which is in effect.
(b) If a court order currently in effect prohibits disclosure of the address or contact information of an individual to whom custodial responsibility has been granted, a notification under subsection (a) may be made only to the court that issued the order. The court shall keep confidential the mailing address or residence of the individual to whom custodial responsibility has been granted.