HTML-538: Create Velocity function for looking up a message code