Source Repository license: Business Source License 1.1
Destination Repository license: MIT. This is an open-source repo, sort of a library, having a lot of contributors. Code here is used by a lot of people in their production projects.
Amount of code copied: 10 lines (it's basically a util function source code)
Reason
I'm aspiring to make an open-source contribution to a repo, and 95% of the code in my contribution is written by me while I've copied 10 lines from a repo which is unfortunately BSL 1.1 licensed.
Right now my contribution is private, I have not yet made the PR. The reason I'm concerned is that earlier I have seen license conflict issues and maintainers don't want to get into that hassle so they hesitate to merge the PR, and PR stays open forever.
How do I proceed?
How can I credit the source repository in my contribution code/github pull request text (it has multiple authors).
If this is a problem, should I re-implement that 10 lines of code myself? (honestly, I don't prefer this, I always like to mention credits for anyone's work I'm using. But if it prevents me from making my contribution I have to do it)