In the agroforestry system, the organic matter in the farmland and natural ecosystem enters the farmland soil in a mixed form to improve soil fertility and carbon pool quality. However, it is unclear how soil microbial carbon-degrading enzyme activity responds to carbon dynamics in this process. Therefore, we took farmland in the Loess Plateau as the research object, combining the application of corn straw and Robinia pseudoacacia leaves in a mass ratio of 4:0, 3:1, 2:2, 1:3, and 0:4 for returning to the field. We measured corn grain yield, carbon emission, organic carbon pool component content, and carbon-degrading enzyme activity of the farmland. The results showed that combining corn straw and Robinia pseudoacacia leaves had a significant impact on soil organic carbon components (readily oxidizable organic carbon and recalcitrant organic carbon), carbon-degrading enzymes (polyphenol oxidase, peroxidase, and cellobiohydrolase), and cumulative carbon emissions. The trend of different indicators in different treatments during the corn growth period was similar. We found that soil carbon emissions were closely related to ROC and soil oxidase activity, while soil carbon content was closely related to soil hydrolase activity. Compared to not returning straw to the field, the corn straw and Robinia pseudoacacia leaves returned to the field in a mass ratio of 1:3(Y1C3) can increase corn grain yield by 32.04%. The Y1C3 treatment has the highest soil carbon content and the lowest crop carbon emission efficiency. Soil water content plays a crucial role in the process of carbon pool transformation driven by soil carbon-degrading enzymes. In conclusion, soil carbon dynamics are closely related to the activity of soil carbon-degrading enzymes. Combining the application of corn straw and Robinia pseudoacacia leaves may be a more suitable farming measure for fragile habitats in the Loess Plateau than other solutions.