; and (B) unrelated to the investigation of a possible crime or other violation of the law. (c) Informed consent in writing (1) Notice (A) In general A Governmental entity shall provide the notice described in subparagraph (B) before requesting that a United States person at the border— (i) provide consent to access the digital contents of any electronic equipment belonging to or in the possession of or the digital contents of an online account of the United States person; (ii) disclose an access credential that would enable access to the digital contents of electronic equipment or the digital contents of an online account of the United States Person; (iii) provide access to the digital contents of electronic equipment or the digital contents of an online account of the United States Person; or (iv) provide online account information of the United States Person. (B) Contents The notice described in this subparagraph is written notice in a language understood by the United States person that the Governmental entity— (i) may not— (I) compel access to the digital contents of electronic equipment belonging to or in the possession of, the digital contents of an online account of, or the online account information of a United States person without a valid warrant; (II) deny entry into or exit from the United States by the United States person based on a refusal by the United States person to— (aa) disclose an access credential that would enable access to the digital contents of electronic equipment or the digital contents of an online account; (bb) provide access to the digital contents of electronic equipment or the digital contents of an online account; or (cc) provide online account information