The same protective mechanisms that are available in the military justice system under the Declaration of Victims Rights are available to prosecutors, judges and actors in the civilian justice system.
There can be no communication orders made by civilian authorities within the system, but certainly within the military, as proper maintenance of good order and discipline within the military, there's the ability of commanding officers to direct that members not communicate with each other and to make work arrangements to ensure that they are not together.
The challenge, as you identify it, is ensuring that there's an awareness of the situation on the part of the commanding officer.
