No the local friend code seed b has nothing to do with the serial number. As far as uninstalling CFW i am not 100% sure on this but i think it might just brick your system, if not you will be re-banned on it as you CFW to use a different local friend code seed b
but if it does just re-ban it...