Perform topic length validation with mb_strlen

Bug: 57933
Change-Id: I128c9b8d0c60cb66718646e68b971db71deceab7
Merge "Perform topic length validation with mb_strlen"