Step execution IDs are globally unique, so there is no need to specify the job execution ID when looking for a step execution by its ID.
The method JobRepository#getStepExecution(long jobExecutionId, long stepExecutionId) should be deprecated for removal in favor of a new one that only accepts the step execution ID.