If sour cream is heated too quickly or too hot it will curdle. Mixing it into your cake mixture and cooking per the recipe instructions should not cause the sour cream to curdle.