add method to get codec details of an account Issue: #81048 Change-Id: I0889ef08a94d0fb642ba85f7f3cc3bff380033b9