You will either need to save the previous curve adjustment as a preset and load that preset into the new curve adjustment layer, or simply make the same curve adjustments in the recording. Another alternative would be a scripted step in the action, which would duplicate the entire adjustment layer and mask from the first document to the second. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.