If you need to send slightly different values based on the username attribute for two different apps then you can add a new user attribute (e.g. username2), configure it for the different format and send that as a claim to the second app while continuing to send the existing username attribute unchanged as a claim to the first app.