You can use the CyBle_SetDeviceAddress API to change the Mac Address in the firmware. You can derive the mac address from th Silicon ID of the chip so that each chip has its unique MAC Address.
To get the silicon ID, you can use the API:
CyGetUniqueID is used to get the 64 Bit unique ID:
//where ID is declared as uint32 ID;