A. Whenever two or more defendants have been jointly charged in a single indictment or have moved to consolidate their indictments for a joint trial, and are represented by the same retained or appointed counsel or by retained or appointed counsel who are associated in the practice of law, the court shall inquire with respect to such joint representation and shall advise each defendant on the record of his right to separate representation.B. Unless it appears that there is good cause to believe that no conflict of interest is likely to arise, the court shall take such measures as may be appropriate to protect each defendant’s right to counsel.