You can substitute the raw eggs for pasteurized eggs. Or you can leave them out. It will be a lot less creamy if you do though. If you're pregnant or unsure, don't make the cake or try and find pasteurized eggs.