In the ibc-go versions v9 and older the bindPort method was used to inform the IBC about a new mapping portID <-> Contract Address. A method AddRoute was used to inform IBC module about Wasm Application in order to route all messages with a proper module name prefix towards the app.
In IBC v2 the bindPort method is removed and AddRoute is used to map a specific port to a given application. This change is stored in memory and does not become a part of the bc state. In order to set the port mappings to wasm contract, wasmd needs to re-insert every IBCv2 enabled contract using AddRoute during the state sync procedure.