; victims of domestic violence offenses. . 542. Other Special Victims' Counsel matters (a) Enhancement of legal consultation and assistance in connection with potential victim benefits Paragraph (8)(D) of subsection (b) of section 1044e of title 10, United States Code, is amended by striking and other and inserting , section 1408(h) of this title, and other . (b) Expansion of legal assistance authorized to Include consultation and assistance for retaliation Subsection (b) of such section is amended further— (1) by redesignating paragraph (10) as paragraph (11); and (2) by inserting after paragraph (9) the following new paragraph (10): (10) Legal consultation and assistance in connection with an incident of retaliation, whether such incident occurs before, during, or after the conclusion of any criminal proceedings, including— (A) in understanding the rights and protections afforded to victims of retaliation; (B) in the filing of complaints; and (C) in any resulting military justice proceedings. . (c) Codification of duty to determine victim's preference for prosecution of alleged sex-related offense by court-martial or civilian court (1) In general Such section is further amended— (A) by redesignating subsections (d) through (h) as subsections (e) through (i), respectively; and (B) by inserting after subsection (c) the following new subsection (d): (d) Duty to determine victim's preference for prosecution of an alleged sex-related offense by court-martial or civilian court (1) In providing legal consultation and representation to a victim under this section in connection with an alleged sex-related offense that occurs in the United States, a Special Victims' Counsel shall have the duty— (A) to solicit the victim's preference regarding whether the offense should be prosecuted by court-martial or in a civilian court with jurisdiction over the offense